$(document).ready(function () {
    // Navigation menu on left side.
    var $menu = $("#LeftSideColumn > ul.sf-menu");
    var options = { animation: { opacity: "show" }, delay: 200 };
    $menu.superfish(options);

    // Special effect for external link.
    var $externalLink = $("#Header > #ExternalLink").find("a");
    $externalLink.hover(function () {
        $(this).animate({ opacity: "0.6" }, 150);
    }, function () {
        $(this).animate({ opacity: "1" }, 150);
    });

    // Fancybox plugin.
    var $fancyboxLink = $("a.fancybox");
    if ($fancyboxLink.length > 0) {
        $fancyboxLink.fancybox();
    }
});